#ifndef __GlAudioManager_h__
#define __GlAudioManager_h__

#include "GlMain.h"

namespace AudioLibrary
{
	class GlExport AudioManager
	{
		public:
			virtual ~AudioManager();
			virtual void playSound(const char *fileName) = 0;
			static inline void Init(AudioManager *manager)
			{
				if(msSingleton)
					delete msSingleton;
				msSingleton = manager;
			}
			static inline AudioManager* GetSingleton()	{return msSingleton;}
		protected:
			inline AudioManager()
			{};
		private:
			static AudioManager*	msSingleton;
	};
}

#endif // __GlAudioManager_h__
